package com.example.feignService;

import com.csq.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignFallBack implements UserFeignService{
    @Override
    public String login(User user) {
        return "{\"msg\": \"服务出错了，请稍后加载重试！\", \"code\":\"200\"}";
    }

    @Override
    public User get(String username) {
        User user = new User();

        return user;
    }
}
